using B.S.NewMedical.ErrorCode;
using MediatR;
using System;

namespace B.S.NewMedical.Api.Write.Application.Command.MobileService.Consult
{
    /// <summary>
    /// 创建用户互动（点赞/收藏/追问）命令
    /// </summary>
    public class CreateConsultInteractCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 对象类型(question/answer/guide)
        /// </summary>
        public string ObjType { get; set; }

        /// <summary>
        /// 对象ID
        /// </summary>
        public int ObjId { get; set; }

        /// <summary>
        /// 操作类型(like/fav/follow)
        /// </summary>
        public string Action { get; set; }

        public CreateConsultInteractCommand(int userId, string objType, int objId, string action)
        {
            UserId = userId;
            ObjType = objType;
            ObjId = objId;
            Action = action;
        }
    }
} 